package com.dingwen.stu.spr.dao.impl;

import com.dingwen.stu.spr.dao.UserDao;

/**
 * 用户 dao impl
 * mysql 实现
 *
 * @author dingwen
 * @date 2021/10/05
 */
public class UserDaoOracleImpl implements UserDao {
    private String name;
    private int age;

    public UserDaoOracleImpl() {
    }

    public UserDaoOracleImpl(String name, int age) {
        System.out.println("name = " + name);
        System.out.println("age = " + age);
        System.out.println("UserDaoOracleImpl constructor");
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public void selectById(String id) {
        System.out.println("dao 通过用户ID查询用户信息，Oracle实现");
    }
}
